let fs = require('fs');
let buf = '';

process.stdin.on('readable', function() {
    let chunk = process.stdin.read();
    if (chunk) buf += chunk.toString();
});

process.stdin.on('end', function() {
    buf.split('\n').forEach(function(line) {
        let tokens = line.split(" ").map(function(x) {return parseInt(x);});
        if (tokens.length !== 2) return;
        
        console.log(tokens[0] + tokens[1]);
    })
});